package at.jku.ce.georg;

public class Part {
	private String name;
	private double price;
	private boolean hasSubPart;
		
	public Part(String name, double price, boolean hasSubPart) {
		super();
		this.name = name;
		this.price = price;
		this.hasSubPart = hasSubPart;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}

	public boolean isHasSubPart() {
		return hasSubPart;
	}

	public void setHasSubPart(boolean hasSubPart) {
		this.hasSubPart = hasSubPart;
	}	
}	
